﻿@{Htss.Platform.Web.HtmlHelper Html = new Htss.Platform.Web.HtmlHelper();}

<!doctype html>
<html>
<head>
    <meta charset="utf-8" />
    <title>发起的好友申请-@DreamBox.DAL.SiteConfig.Config.SiteName-@DreamBox.DAL.SiteConfig.Config.Title</title>
    <meta name="description" content="@DreamBox.DAL.SiteConfig.Config.Description" />
    <meta name="keywords" content="@DreamBox.DAL.SiteConfig.Config.KeyWords" />
    <script type="text/javascript" src="/tools/js/jquery-2.1.1.min.js"></script>
    <link href="/style/metro/css/metro-bootstrap.css" rel="stylesheet" />
    <script src="/style/metro/css/metro.min.js"></script>
</head>
<body class="metro">
    <div class="container">
        @Html.Action("", "header")
        <div class="grid">
            <div class="row offset3">
                <div class="span3">
                    <nav class="sidebar light">
                        <ul class="">
                            <li class="nav-header">
                                管理选项
                            </li>
                            <li>
                                <a href="/user/friends">好友列表</a>
                            </li>
                            <li class="active">
                                <a href="/user/launch">好友申请</a>
                            </li>
                            <li>
                                <a href="/user/target">好友审核</a>
                            </li>
                        </ul>
                    </nav>
                </div>
                <div class="span9">
                    <div class="span9">
                        @foreach (Htss.Platform.Data.DbRow row in Html.ViewDbTable["ListData"].Rows)
                        {
                            <table class="table" id="friends@(row["LaunchID"])">
                                <tr>
                                    <td rowspan="3" style="width:90px;height:90px;">
                                        <img style="width:90px;height:90px;" src="@(row["Avatar"])" alt="" />
                                    </td>
                                    <td style="width:500px;">用户名:@(row["UserName"])</td>
                                    <td>
                                        <a class="btn btn-primary" id="del_@(row["LaunchID"])" onclick="userFriendsLaunchDelete(@(row["LaunchID"]))">删除</a>
                                    </td>
                                </tr>
                                <tr>
                                    <td>Ta在:@(row["Location"])</td>
                                    <td></td>
                                </tr>
                                <tr>
                                    <td>标签:@(row["Tags"])</td>
                                    <td></td>
                                </tr>
                            </table>
                        }
                    </div>
                    <div class="span9">
                        @Html.ViewData["ListPage"]
                    </div>
                </div>
            </div>
        </div>
        @Html.Action("", "footer")
    </div>
    <script src="/js/tips.js" type="text/javascript"></script>
    <script src="/js/user.js" type="text/javascript"></script>
</body>
</html> 